<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script type="text/javascript">
			var email = "4006751066@qq.com";
			console.log(email.substring(0, email.indexOf("@")));
			document.write(email.substring(0, email.indexOf("@")));
		</script>
	</body>
</html>
